Install mongoDB in windows (decompress version) to close the service tutorial. Decompress mongodb
I am going to put the database on disk D, so I created a mongoDB folder under disk D, and created the mongoDB folder and mongoDBdat
, note is Mongod.exe 2, this time the interface will stop at 2015-03-26t15:19:17.135+0800inetwork [initandlisten]waitingforconnectionsonport27017 (The database is now started)
First knowledge of MongoDB:New Open [ Note is new ] after a cmd window, then run the Mongo.exe program (note that there is no d), at this time the previous window is displayed: 2015-03-26t15:31:10.148+0800 I NETWORK [ Initandlisten] Connection accepted from 127.0.0.1:60408 #1 (1 connection now OPEN)Now it's time to
Tags: mongodbIn the This blog, I'll mainly attach great importantance to "create a Windows service for MongoDB." The method described in the next are referred from the official website of MongoDB.http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Fi
\DATA\DB Create the Data folder below the MongoDB folder and create the DB folder under Data, which is important to store database data files. F:\mongodb\logs\mongodb.log Create the Logs folder under the MongoDB folder and create the Mongodb.log file under the folder, which is mainly for the system log files, these folders must be created manually. 2.3 Start
Transferred from: http://blog.csdn.net/chaijunkun/article/details/7227967.
MongoDB, as a distributed file storage-based database, has been sought after for nearly two years. Flexible Data Access and efficient processing make it widely used in Internet applications.
I recently started to study MongoDB usage on Windows 32-bit platform. For convenience, I prefer to
The last time I wrote about basic MongoDB installation, may not be very detailed, but also written very bad, but we will say in detail, if you deploy MongoDB on your Windows computer.1. Configure Environment variablesIf it's going to be a lot of trouble to go into the bin directory of the MongoDB on the cmd every time,
installed MongoDB to the Bin directory cut-off (write complete as above) Click OK
Locate the path variable in the system variable click Edit
Variable name does not need to be changed
The variable value is preceded by the name of the variable that was created (my previous step was created with the name Mongdb_home)
The format is%mongdb_home%\bin; (note that the last must be used; Separated) after completion as shown in the above figure click O
the MongoDB database. >help (View related information) >db.foo.insert ({a:1}) (Insert a,1 field value to Foo table, Foo table as default table) >db.foo.find () (View foo table data)Start MongoDB as a Windows service
Sign up for MongoDB ServiceEntry: E:\Work_App\
MongoDB Windows Installation Services
MongoDB, as a database based on distributed file storage, has been in hot pursuit for nearly two years. Flexible access to data and efficient processing make it widely used in Internet applications.
Recently I began to study the use of MongoDB under the
;
Ii. Configuration Service
If you do not need to configure the service, you only need to runMongod.exeBut when the CMD window is closed, MongoDB stops responding.
We recommend that you deploy MongoDB as a service by executing the following command:
Mongod -- logpat
Tags: is you exit tin log file local win SRC append refFirst, download the installation 1, go to the official website to download the MongoDB version for their own computer to download MongoDB 2. Installing MongoDB Installation or relatively simple, follow the step by step to go down on it. 3. Start MONGODDB After the installation is complete, locate you
MongoDB as a Windows service startup
Windows version Installation
MongoDB Official Download Station is http://www.mongodb.org/downloads, can go up to download the latest corresponding version, there are 32-bit, 64-bit.
Set the Mogodb directory.Unzip the
Tags: get blank file middle position start Connection top modeSetting up MongoDB Server as a system for easy start and stopIt's happening today. After installing the next MongoDB service locally, after installation, the configuration file is created for the database service to indicate where the database raw files are
Label:This article describes installing MongoDB in a Windows environment and adding it to a Windows service, starting with the system First go to the official website to download the Windows installation package: Https://www.mongodb.org/downloads In general, choose the defau
dataDouble-click to open the Mongo.exe client program in the installation directory bin directory and connect to the test database by default after opening.CRUD Operations TestingMore and more full crud operationsThe long-winded focus finally came ...Create a Windows service for MongoDB
Configuration log file path
Configure the database path
Ins
Tags: window new rect unzip let start download http ownFirst step to download MongoDB Http://www.mongodb.org/downloads Step Two Extracted to the D:\mongodb\ directory, for the convenience of the command line, you can add the D:\mongodb\bin to the system environment variable path. Step Three Create D:\mongodb\data\db a
Label:1. Download and installDownload Path Login Official website: http://www.mongodb.org/downloads2. Create a new directoryMy path is D:\MongoDB. The new directory structure under the MongoDB file is: --MongoDB --Bin --Data--DB --Log --MongoDB.log3. StartEach time you start MongoDB, it will run: $ CD D:\
E disk. (1) Boot statement without authentication: Mongod--config "E:\MongoDB\etc\mongo.conf"--servicename "MongoDB" (2) A startup statement that requires authentication (plus--auth on it): Mongod--config "E:\MongoDB\etc\mongo.conf"--servicename "MongoDB"--auth when using the above statement on demand to execute it.3.
Summarize how to install MongoDB as a WinXP system service.
The commands used are as follows:
Copy Code code as follows:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\administrator>mongod-dbpath C:\mongo\MongoDB\mongo\data--logpath=c:
/mongodb/data
So MongoDB happily starts, opens the browser, enters: http://127.0.0.1:27017, at this time you can see the following prompt language:
Copy Code code as follows:
It looks like your are trying to access MongoDB over HTTP on the native driver port.
Translation: You seem to be trying to access
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.